package com.mystore.service;

import com.mystore.entity.Cart;
import com.mystore.vo.GoodVO;

import java.io.Serializable;
import java.sql.SQLException;
import java.util.List;

public interface CartService {

    List<GoodVO> findMyCart(int uid);

    Serializable addCart(Cart cart) throws SQLException;

    /**
     * 更新购物车
     * @param cart
     */
    void updateCart(Cart cart) throws SQLException;
}
